﻿using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Com.ArHat.Model.Models;

namespace Com.ArHat.IDAL
{


    //添加接口，起约束作用
    public partial interface IDbSession
    {

        int SaveChanges();

        int ExcuteSql(string strSql, SqlParameter[] parameters);

        IEnumerable<string> GetMenuName(string strSql);

        IBaseRepository<User> UserInfoRepository{ get;}
        IBaseRepository<Menu> MenuRepository { get; }
    }
}
